// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.neuronbit.businessflow.intellij.editor.swing.editor.quickFixes;

import com.intellij.codeInspection.util.IntentionName;
import com.intellij.openapi.ui.popup.PopupStep;
//import com.neuronbit.businessflow.intellij.editor.swing.GuiEditor;
import com.neuronbit.businessflow.intellij.editor.swing.editor.RadComponent;
import com.neuronbit.businessflow.intellij.editor.swing.GuiEditor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;


/**
 * The type Popup quick fix.
 *
 * @param <T> the type parameter
 */
public abstract class PopupQuickFix<T> extends QuickFix {
    /**
     * Instantiates a new Popup quick fix.
     *
     * @param editor    the editor
     * @param name      the name
     * @param component the component
     */
    public PopupQuickFix(@NotNull final GuiEditor editor, @NotNull final @IntentionName String name, @Nullable RadComponent component) {
    super(editor, name, component);
  }

    /**
     * Gets popup step.
     *
     * @return the popup step
     */
    public abstract PopupStep<T> getPopupStep();
}
